#include <stdio.h>

int mod(int,int);

int main() {
    int x= 33, y= 7;
    printf("mod() function: %d %% %d = %d\n", x, y, mod(x, y));

    return 0;
}

int mod(int x, int y) {
    return x - (y*(x/y));
}


